//
//  TKYCustomCharts.h
//  StationHouseHelper
//
//  Created by apple on 2018/7/11.
//  Copyright © 2018年 铁科院. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TKYCustomChartsCell.h"
@protocol TKYCustomChartsDelegate <NSObject>
//点击柱子的回调
- (void)TKY_customChartsDidSelectItemAtIndexPath:(NSIndexPath *)indexPath;

-(void)TKY_customChartsDidDeselectItemAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface TKYCustomCharts : UIView<UICollectionViewDataSource,UICollectionViewDelegate>

@property(nonatomic,weak)id<TKYCustomChartsDelegate>  delegate;

@property (nonatomic, strong)UICollectionView *collectionView;

//@property (nonatomic, strong)NSArray *customCharts;
//初始化
- (instancetype)initWithFrame:(CGRect)frame withCustomChartsNSArray:(NSArray *)array ;
@end
